package utn.frsf.gabinete.fw.generator;

import java.util.ArrayList;
import java.util.List;

public class Formulario {

	private List<Input> elementos;
	private String id;
	
	public Formulario(){
		this.elementos = new ArrayList<Input>();
	}
	
	public Formulario(String id){
		this();
		this.id = id;
	}
	
	public void addInput(Input elem){
		this.elementos.add(elem);
	}

	public List<Input> getElementos() {
		return elementos;
	}
	
	public String getId(){
		return this.id;
	}
	
	public String nombre(){
		return this.id;
	}
	
}
